package com.nian.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * 用途：配置中心启动类
 * 开发：zhangmj
 * 日期：2020/3/28 13:18
 */
@EnableDiscoveryClient
@EnableConfigServer
@SpringBootApplication
public class NianConfigCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(NianConfigCenterApplication.class, args);
    }
}
